<?php
/*
 * General Functions
 * 
 * Mainly used functions
 * 
 * @author : Jason Meulenhoff
 * @mail : mail@kacangboi.com
 * @web : http://kacangboi.com
 * @copyright : KacangNetworks 2010
 * 
 */
function adduser($username,$password,$email)
{
	$db = new databaseManager();
	$db->registerUser($username,$password,$email);
}

function setLiveLanguage($lang)
{
	$db = new databaseManager();
	$db->updateLiveSettings($lang);
}